package com.team2.outpatient_sys.pojo;

/**
 * 线下挂号信息 实体类
 */
public class RegisteredOffline {
    //病人姓名
    private String name;
    //病人身份证
    private String idCard;
    // 科室id
    private Integer deptId;
    // 医生id
    private Integer doctorId;
    // 挂号状态(1代表以挂号，2代表待就诊，3代表已完成，4代表已取消)
    private Integer status;
    // 就诊时段(1代表8点到9点，2代表9点到10点，3代表10点到11点，4代表11点到12点，5代表13点到14点，6代表14点到15点，7代表15点到16点，8代表16点到17点)
    private Integer timeQuantum;
    // 挂号时间
    private String regTime;
    //就诊时间
    private String clinicTime;

    public RegisteredOffline() {
    }

    public RegisteredOffline(String name, String idCard, Integer deptId, Integer doctorId, Integer status, Integer timeQuantum, String regTime, String clinicTime) {
        this.name = name;
        this.idCard = idCard;
        this.deptId = deptId;
        this.doctorId = doctorId;
        this.status = status;
        this.timeQuantum = timeQuantum;
        this.regTime = regTime;
        this.clinicTime = clinicTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public Integer getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(Integer doctorId) {
        this.doctorId = doctorId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getTimeQuantum() {
        return timeQuantum;
    }

    public void setTimeQuantum(Integer timeQuantum) {
        this.timeQuantum = timeQuantum;
    }

    public String getRegTime() {
        return regTime;
    }

    public void setRegTime(String regTime) {
        this.regTime = regTime;
    }

    public String getClinicTime() {
        return clinicTime;
    }

    public void setClinicTime(String clinicTime) {
        this.clinicTime = clinicTime;
    }

    @Override
    public String toString() {
        return "RegisteredOffline{" +
                "name='" + name + '\'' +
                ", idCard='" + idCard + '\'' +
                ", deptId=" + deptId +
                ", doctorId=" + doctorId +
                ", status=" + status +
                ", timeQuantum=" + timeQuantum +
                ", regTime='" + regTime + '\'' +
                ", clinicTime='" + clinicTime + '\'' +
                '}';
    }
}
